<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
  
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + (request.getServerPort()==80?"":":" + request.getServerPort())
            + path + "/";
%>